function Task() {}

Task.prototype = {
    checked: false,
    id: 0,
    priority: 4,
    name: "new task",
    tags: "unsorted",
    setName: function( newName ) {
    	this.title = newName;
    },
    setTags: function( tagList ) {
    	this.tags = tagList;
    }
};